import { Server } from "restify";

import { GoodController } from '@src/apps/goods/controllers/good.controller';
import { BecController } from '@src/apps/goods/controllers/bec.controller';
import { PowerController } from '@src/apps/goods/controllers/power.controller';

import { entities as GoodEntities } from "@src/apps/goods/entities"
export const app = (
    server: Server,
    entities: Function[],
    initializations: Function[]
) => {
    const goodController = new GoodController();

    server.get(
        "/goods/getall", goodController.getAll
    );
    entities.push(...GoodEntities);
    // initializations.push();
}